#ifndef ROBOT_H
#define ROBOT_H

#include <QString>
#include <QList>

#include "joints.h"
#include "animation.h"

class Robot
{
public:
	Robot();
	void addJoint(Joint newJoint);
	void addAnimation(Animation *newAnimation);
	void removeLastJoint();	//don't see point of removing arbitrary joint
	int getJointCount();
	void reset();	//clears all joints and animations
	int maxAnimationPriority;
	
	QString getRobotName();
	QString getRobotDescription();
	void setName(QString name);
	void setDescription(QString description);
	QList<Joint> jointList;
	QList<Animation*> animationsList;
	
private:
	QString robotDescription;
	QString robotName;
};

#endif
